<?php
defined('SYSPATH') OR die('No direct access allowed.');
/**
 * MAPI COA Project
 * index.php
 * @author ranuandra
 *
 * 22 Jul 2011
 * tags
 */
?>

<div class="title">Data Product</div>
<div class="toolbar">
	<a href="<?php echo URL::base()?>product/new">+ New</a> 
</div>
<div>
	<table class="datacontent">
	<thead>
		<tr>
			<th>Product Name</th>
		</tr>
	</thead>
<?php 
if(isset($datas))
{
	$rowclass = 0;
	foreach($datas as $data)
	{
?>
		<tr class="row<?php echo $rowclass?>">
			<td><?php echo $data->product_name ?></td>
		</tr>
<?php 
		$rowclass = 1 - $rowclass;	
	}
}
?>
	</table>
</div>